//
//  NewsModel.m
//  CarLife
//
//  Created by yu on 2018/1/10.
//  Copyright © 2018年 jpas. All rights reserved.
//

#import "NewsModel.h"

@implementation NewsModel

- (BOOL)hasImagesArray
{
    if (self.thumbnail_pic_s && self.thumbnail_pic_s02 && self.thumbnail_pic_s03) {
        return YES;
    } else {
        return NO;
    }
}

- (NSArray *)imagesArray
{
    if (self.hasImagesArray) {
        _imagesArray = @[self.thumbnail_pic_s,self.thumbnail_pic_s02,self.thumbnail_pic_s03];
        return _imagesArray;
    }
    return nil;
}

@end
